Skip to content

PD-13324 speed up CI - #2923

Open
cryptalith wants to merge 9 commits into
mainfrom
lmendoa/PD-13324
Open

PD-13324 speed up CI#2923
cryptalith wants to merge 9 commits into
mainfrom
lmendoa/PD-13324

Conversation

@cryptalith

Copy link
Copy Markdown
Member

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

🚀 Preview Deployment

Your UI docs preview is ready!

Preview URL: https://orcid.github.io/orcid-angular/runway/PD-13324/

This preview will be updated automatically when you push new commits to this PR.


Deployed from commit: 077701e

Comment thread .github/workflows/pr.yml Outdated
# Must be a required status check; see .github/workflows/format.yml.
format:
uses: ./.github/workflows/format.yml
secrets: inherit

@orcid-sast orcid-sast Bot Sep 7, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workflow uses secrets: inherit to pass all of the calling workflow's secrets to a reusable workflow. This violates the principle of least privilege because the called workflow receives access to every secret in the repository, not just the ones it needs. If the called workflow is compromised or sourced from a third party, an attacker gains access to all repository secrets. Instead, explicitly pass only the secrets that the called workflow requires using the secrets: map, e.g. secrets: { MY_SECRET: ${{ secrets.MY_SECRET }} }.

🎈 Fixed in commit c3ac923 🎈

Comment thread .github/workflows/ci_only.yml Outdated
needs: detect
if: needs.detect.outputs.ci_only == 'true'
uses: ./.github/workflows/bld_test_rel_tag.yml
secrets: inherit

@orcid-sast orcid-sast Bot Sep 7, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workflow uses secrets: inherit to pass all of the calling workflow's secrets to a reusable workflow. This violates the principle of least privilege because the called workflow receives access to every secret in the repository, not just the ones it needs. If the called workflow is compromised or sourced from a third party, an attacker gains access to all repository secrets. Instead, explicitly pass only the secrets that the called workflow requires using the secrets: map, e.g. secrets: { MY_SECRET: ${{ secrets.MY_SECRET }} }.

🌟 Fixed in commit c3ac923 🌟

Comment thread .github/workflows/ci_only.yml Outdated
needs: detect
if: needs.detect.outputs.ci_only == 'true'
uses: ./.github/workflows/pr.yml
secrets: inherit

@orcid-sast orcid-sast Bot Sep 7, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workflow uses secrets: inherit to pass all of the calling workflow's secrets to a reusable workflow. This violates the principle of least privilege because the called workflow receives access to every secret in the repository, not just the ones it needs. If the called workflow is compromised or sourced from a third party, an attacker gains access to all repository secrets. Instead, explicitly pass only the secrets that the called workflow requires using the secrets: map, e.g. secrets: { MY_SECRET: ${{ secrets.MY_SECRET }} }.

🧼 Fixed in commit 2116139 🧼

Comment thread .github/workflows/bld_test_rel_tag.yml Outdated
push_i18n_source:
if: ${{ github.ref == 'refs/heads/main' && inputs.deploy }}
uses: ./.github/workflows/push_i18n_source.yml
secrets: inherit # pass all secrets for Transifex

@orcid-sast orcid-sast Bot Sep 7, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workflow uses secrets: inherit to pass all of the calling workflow's secrets to a reusable workflow. This violates the principle of least privilege because the called workflow receives access to every secret in the repository, not just the ones it needs. If the called workflow is compromised or sourced from a third party, an attacker gains access to all repository secrets. Instead, explicitly pass only the secrets that the called workflow requires using the secrets: map, e.g. secrets: { MY_SECRET: ${{ secrets.MY_SECRET }} }.

🎉 Fixed in commit c3ac923 🎉

@cryptalith

Copy link
Copy Markdown
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant